//
//  YMOrderTool.m
//  PinGJByOwnerSide
//
//  Created by lantaiyuan on 2017/11/14.
//  Copyright © 2017年 lantaiyuan. All rights reserved.
//

#import "YMOrderTool.h"

@implementation YMOrderTool
+ (void)saveOrderStatus:(YMOrderStatus)status{
    [YMSaveTool setInteger:status forKey:@"ym_order_status"];
}

+ (YMOrderStatus)getOrderStatus{
    return [YMSaveTool integerForKey:@"ym_order_status"];
}

+ (void)saveOrderNo:(NSString *)orderNo{
    [YMSaveTool setValue:orderNo forKey:@"ym_order_no"];
}

+ (NSString *)getOrderNo{
   return [YMSaveTool valueForKey:@"ym_order_no"];
}
@end
